home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-01-01 | 1.6 KB | 71 lines | [TEXT/MPS ] |
- //# Copyright: © 1993 - 1995 by Apple Computer, Inc., all rights reserved.
-
- #ifndef _PSTOBJ_
- #define _PSTOBJ_
-
- #ifndef _REFCTOBJ_
- #include "RefCtObj.idl"
- #endif
-
- //==============================================================================
- // Classes defined in this interface
- //==============================================================================
-
- interface ODPersistentObject;
-
- //==============================================================================
- // Classes used by this interface
- //==============================================================================
-
- interface ODStorageUnit;
- interface ODFrame;
-
- //==============================================================================
- // ODPersistentObject
- //==============================================================================
-
- interface ODPersistentObject : ODRefCntObject
- {
- void InitPersistentObject(in ODStorageUnit storageUnit);
-
- void InitPersistentObjectFromStorage(in ODStorageUnit storageUnit);
-
- void ReleaseAll();
-
- void Externalize();
-
- ODStorageUnit GetStorageUnit();
-
- ODID GetID();
-
- void CloneInto(in ODDraftKey key,
- in ODStorageUnit toSU,
- in ODFrame scope);
-
- #ifdef __SOMIDL__
- implementation
- {
- majorversion = 1; minorversion = 0;
-
- functionprefix = ODPersistentObject;
-
- override:
- somUninit;
-
- releaseorder:
- InitPersistentObject,
- InitPersistentObjectFromStorage,
- ReleaseAll,
- Externalize,
- GetStorageUnit,
- GetID,
- CloneInto;
-
-
- };
- #endif //# __SOMIDL__
- };
-
- #endif //# _PSTOBJ_
-
-